package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.business.domain.Coach;

import java.util.List;

public interface CoachMapper extends BaseMapper<Coach> {
    /**
     * 查询所有启用教练列表
     * @return 教练集合
     */
    public List<Coach> selectAllCoachList();
    /**
     * 查询教练列表
     *
     * @param coach 教练
     * @return 教练集合
     */
    public List<Coach> selectCoachList(Coach coach);

    /**
     * 更新教练数据
     *
     * @param coach 教练
     */

    public int insertCoach(Coach coach);

    /**
     * 更新教练数据
     *
     * @param coach 教练
     */

    public int updateCoach(Coach coach);

}
